package com.epichust.bootuqc.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：ziyang
 * @date ：Created in 2020/1/18
 * @description：质检模板表
 */

public class Uqcm5ChkMould implements Serializable {
    private static final long serialVersionUID = -1L;
    private Integer id;//gid
    private String code;//模板编码
    private String name;//模板名称
    private Integer chkTypeGid;//检测类型gid
    private String chkTypeCode;//检测类型编码
    private String chkTypeName;//检测类型名称
    private Integer chkBillMode;//创建方式1自动2手工
    private Integer chiBillFlag;//创建时间点(1报工后2完工后)
    private Integer chkFqType;//检测频次类型(0数量、1时间)
    private String chkFqValue;//检测频次值
    private Integer chkBillTypeGid;//检测单类型(在制品检测、入库检)自定义项实现
    private Integer isIssue;//是否需要开具合格证(0是，1否)
    private Integer isConfirmDoc;//客户单位是否见证生产(0是，1否)
    private String remark;//备注
    private String createId;//创建人
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;//创建时间
    private String modifyId;//最后修改人
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date modifyDate;//最后修改时间
    private Integer isDelete = 0;//删除标识（0正常/1删除）
    private String siteCode;//工厂编码
    private String workCenterCode;//工作中心编码
    private String token;//令牌编码


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getChkTypeGid() {
        return chkTypeGid;
    }

    public void setChkTypeGid(Integer chkTypeGid) {
        this.chkTypeGid = chkTypeGid;
    }

    public String getChkTypeCode() {
        return chkTypeCode;
    }

    public void setChkTypeCode(String chkTypeCode) {
        this.chkTypeCode = chkTypeCode;
    }

    public String getChkTypeName() {
        return chkTypeName;
    }

    public void setChkTypeName(String chkTypeName) {
        this.chkTypeName = chkTypeName;
    }

    public Integer getChkBillMode() {
        return chkBillMode;
    }

    public void setChkBillMode(Integer chkBillMode) {
        this.chkBillMode = chkBillMode;
    }

    public Integer getChiBillFlag() {
        return chiBillFlag;
    }

    public void setChiBillFlag(Integer chiBillFlag) {
        this.chiBillFlag = chiBillFlag;
    }

    public Integer getChkFqType() {
        return chkFqType;
    }

    public void setChkFqType(Integer chkFqType) {
        this.chkFqType = chkFqType;
    }

    public String getChkFqValue() {
        return chkFqValue;
    }

    public void setChkFqValue(String chkFqValue) {
        this.chkFqValue = chkFqValue;
    }

    public Integer getChkBillTypeGid() {
        return chkBillTypeGid;
    }

    public void setChkBillTypeGid(Integer chkBillTypeGid) {
        this.chkBillTypeGid = chkBillTypeGid;
    }

    public Integer getIsIssue() {
        return isIssue;
    }

    public void setIsIssue(Integer isIssue) {
        this.isIssue = isIssue;
    }

    public Integer getIsConfirmDoc() {
        return isConfirmDoc;
    }

    public void setIsConfirmDoc(Integer isConfirmDoc) {
        this.isConfirmDoc = isConfirmDoc;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyId() {
        return modifyId;
    }

    public void setModifyId(String modifyId) {
        this.modifyId = modifyId;
    }

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getSiteCode() {
        return siteCode;
    }

    public void setSiteCode(String siteCode) {
        this.siteCode = siteCode;
    }

    public String getWorkCenterCode() {
        return workCenterCode;
    }

    public void setWorkCenterCode(String workCenterCode) {
        this.workCenterCode = workCenterCode;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
